/*
 * @Description: :s
 * @Author: Richeneen
 * @Date: 2022-10-12 15:22:48
 * @LastEditTime: 2022-10-15 23:08:09
 * @LastEditors: Richeneen
 */
const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  user: state => state.user.user,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
  // 员工编号
  employees: state => state.account.employees,
  // 员工账单
  employeesAccount: state => state.account.employeesAccount,
  // 顾客编号
  customers: state => state.account.customers,
  // 顾客账单
  customersAccount: state => state.account.customersAccount,
  // 系统账单
  systemAccount: state => state.account.systemAccount,
  // 资讯栏目列表
  categories: state => state.category.categories,
  // 风采列表
  articleList: state => state.article.articleList
}
export default getters
